def sutdents(name,age,sex="男"):
    print(name,end=" ")
    print(age,end=" ")
    print(sex)
# 关键字参数
sutdents(age="25",sex="男",name="小刚")

# 位置参数调用
sutdents("张三","18","男")

# 默认函数
sutdents("李四","20")
sutdents("小红","25","女")